/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.pig4cloud.pig.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 商铺
 *
 * @author xiaoxiong
 * @date 2022-04-08 18:01:37
 */
@Data
@TableName("xlm_shop")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "商铺")
public class XlmShop extends BaseEntity {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * 店家标题
     */
    @NotBlank(message = "标题不能为空")
    @ApiModelProperty(value="店家标题")
    private String title;

    /**
     * 店家描述
     */
    @ApiModelProperty(value="店家描述")
    private String content;

    /**
     * 店家分类
     */
    @NotBlank(message = "分类不能为空")
    @ApiModelProperty(value="店家分类")
    private Integer shoptype;

    /**
     * 宣传图
     */
    @ApiModelProperty(value="宣传图")
    private String img;

    /**
     * 背景图
     */
    @ApiModelProperty(value="背景图")
    private String bgimg;

    /**
     * 商标图
     */
    @ApiModelProperty(value="商标图")
    private String bqimg;

    /**
     * 店家状态1开业2关闭3打烊
     */
    @ApiModelProperty(value="店家状态1开业2关闭3打烊")
    private Integer status;

    /**
     * 商店类型1美团2饿了么
     */
    @ApiModelProperty(value="商店类型1美团2饿了么")
    private Integer type;

    /**
     * 商家合作链接
     */
    @ApiModelProperty(value="商家合作链接")
    private String link;

    /**
     * 删除
     */
    @ApiModelProperty(value="删除")
    private Integer deleted;

    /**
     * 维度
     */
    @ApiModelProperty(value="维度")
    private String longitude;

    /**
     * 经度
     */
    @ApiModelProperty(value="经度")
    private String latitude;

    /**
     * 城市
     */
    @ApiModelProperty(value="城市")
    private String city;

    /**
     * 区域
     */
    @ApiModelProperty(value="区域")
    private String area;

    /**
     * 详细地址
     */
    @ApiModelProperty(value="详细地址")
    private String address;


    /**
     * 人均
     */
    @ApiModelProperty(value="人均")
    private Integer per;
}
